// miniprogram/pages/test/test.js
Page({
  data:{
    list:[
      {name:'张三',score:{miniapp:120,php:68,linux:78}},
      {name:'李四',score:{miniapp:110,php:67,linux:77}},
      {name:'王五',score:{miniapp:100,php:66,linux:76}},
      {name:'赵六',score:{miniapp:90,php:65,linux:75}},
    ],
    msg:"hello word"
  },
  click(e){
    console.log(e)
    const id = e.currentTarget.dataset.id
    wx.showToast({
      title:`${this.data.list[id].name}:${this.data.list[id].score.miniapp},${this.data.list[id].score.linux}`,
    })
  }
 
  
})